<h1>Listing menus</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Descr</th>
    <th>Local</th>
    <th>Status</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @menus.each do |menu| %>
  <tr>
    <td><%= menu.name %></td>
    <td><%= menu.descr %></td>
    <td><%= menu.local_id %></td>
    <td><%= menu.status %></td>
    <td><%= link_to 'Show', menu %></td>
    <td><%= link_to 'Edit', edit_menu_path(menu) %></td>
    <td><%= link_to 'Destroy', menu, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Menu', new_menu_path %>
